﻿using System.Web.Mvc;

namespace Adams.Web.Areas.MyAdams
{
    public class MyAdamsAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "MyAdams";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "MyAdams_default",
                "MyAdams/{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = "0" },
                new string[] { "Adams.Web.Areas.MyAdams.Controllers" }
            );
        }
    }
}
